package AbstractFactory;

public class ConcreteFactory1 extends AbstractFactory{

    @Override
    public Fruit createFruit() {
        return new Apple();
    }

    @Override
    public Vegetable createVegetables() {
        return new Cabbage();
    }
}
